﻿using AutoMapper;
using BCDto.MySql.MaterialConfiguration;
using BCEntity.MySql.MaterialConfiguration;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles
{
    public class MaterialConfigurationProfile:Profile
    {
        public MaterialConfigurationProfile()
        {

            CreateMap<MaterialConfigurationEntity, MaterialConfigurationDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MaterialConfigurationDto, MaterialConfigurationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MaterialConfigurationSimPutDto, MaterialConfigurationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MaterialConfigurationRequestDto, MaterialConfigurationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

  
        }
    }
}
